package com.kaihong.template.ble.operation.model;

/**
 * Bluetooth Discovery Param
 */
public class BluetoothDiscoveryParam {
    private String[] services;
    private boolean allowDuplicatesKey;
    private int interval;
    private String macAdress;

    /**
     * whether allow duplicates key
     *
     * @return is allow or not
     */
    public boolean isAllowDuplicatesKey() {
        return allowDuplicatesKey;
    }

    /**
     * set whether allow duplicates key
     *
     * @param allowDuplicatesKey allowDuplicatesKey
     */
    public void setAllowDuplicatesKey(boolean allowDuplicatesKey) {
        this.allowDuplicatesKey = allowDuplicatesKey;
    }

    /**
     * get time of interval
     *
     * @return time of interval
     */
    public int getInterval() {
        return interval;
    }

    /**
     * set interval time
     *
     * @param interval interval time
     */
    public void setInterval(int interval) {
        this.interval = interval;
    }

    /**
     * get array of uuid
     *
     * @return array of uuid
     */
    public String[] getServices() {
        return services.clone();
    }

    /**
     * set array of uuid
     *
     * @param services array of uuid
     */
    public void setServices(String[] services) {
        this.services = services.clone();
    }

    public String getMacAdress() {
        return macAdress;
    }

    public void setMacAdress(String macAdress) {
        this.macAdress = macAdress;
    }
}
